package lumis.portal.sendmail.dao.hibernate;

import lumis.portal.sendmail.IMailDestination;

/**
 * Implementation of {@link IMailDestination} used by {@link SendMailDaoHib}.
 * 
 * @version $Revision: 6251 $ $Date: 2007-03-27 10:49:29 -0300 (Tue, 27 Mar 2007) $
 * @since 4.0.4
 */
class MailDestination extends MailSendStatus implements IMailDestination
{
	private String id;
	private String emailAddress;
	private String name;
	private Mail mail;
	
	public Mail getMail()
	{
		return mail;
	}
	public void setMail(Mail mail)
	{
		this.mail = mail;
	}
	public String getEmailAddress()
	{
		return emailAddress;
	}
	public void setEmailAddress(String email)
	{
		this.emailAddress = email;
	}
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
}
